package cn.org.eshow.service;

import cn.org.eshow.bean.query.OrderStepQuery;
import cn.org.eshow.common.page.Page;
import cn.org.eshow.model.OrderStep;
import cn.org.eshow.model.ProductOrder;

import javax.jws.WebService;
import java.util.List;

@WebService
public interface OrderStepManager extends GenericManager<OrderStep, Integer> {

	List<OrderStep> list(OrderStepQuery query);

	Page<OrderStep> search(OrderStepQuery query);

	OrderStep check(OrderStepQuery query);

	/**
	 * @param state       订单状态说明
	 * @param content 	信息
	 * @param productOrder
	 * @return
	 */
	OrderStep save(String state, String content, ProductOrder productOrder);

}